#ifndef	_TEMP_H
#define	_TEMP_H

#include "task_shell.h"

void Timer0Config(void);
void AdcConfig(void);
void PwmConfig(void);
//void AdcTimer(void);

void StartCalibration(uint8_t ch, param_t param);
void EndCalibration(uint8_t ch, param_t param);
void SetFanPower(uint8_t ch, param_t param);

void read_temperature(uint8_t ch, param_t param);

// defination for task
#define			TEMP_PRI		7
extern OS_STK   task_temp_stk[];	 	/*!< Stack of 'task_init' task.	  */


void task_temperature(void * pdata);


#endif	//_TEMP_H


